<template>
  <div>
    <!-- 前端白名单展示页 2018/2/12 11:48 zhangQ -->
    <div class="layout">
      <Layout>
        <Header style="padding: 0;width:100%;z-index: 200;height:60px;" id="indexHeaderMenu">
          <indexMenu></indexMenu>
        </Header>
        <Content>
          <router-view></router-view>
        </Content>
        <Footer style="padding: 0">
          <div id="footer">
            <h1 style="color: transparent">weibu</h1>
            <div class="footers">
              <div class="foo1">
                <p>常见问题</p>
                <p>
                  <router-link :to="{path: '/problem',query: {name: '1'}}">注册与登录</router-link>
                </p>
                <!--<p><span href="#">收费问题</span></p>-->
                <p>
                  <router-link :to="{path: '/problem',query: {name: '2'}}">基本功能</router-link>
                </p>
                <!--<p><span href="#">权限划分</span></p>-->
              </div>
              <div class="foo2">
                <p>产品与服务</p>
                <p>
                  <router-link :to="{path: '/product/station'}">智慧场站</router-link>
                </p>
                <p>
                  <router-link :to="{path: '/product/mainorder'}">智慧全程</router-link>
                </p>
                <p>
                  <router-link :to="{path: '/product/hardware'}">智能硬件</router-link>
                </p>
                <p>
                  <router-link :to="{path: '/product/finance'}">金融保理</router-link>
                </p>
                <!--<p><a href="javascript:void(0)">联运e达EDI服务平台</a></p>-->
              </div>
              <div class="foo3">
                <p>合作交流</p>
                <p>
                  <router-link :to="{path: '/abouts'}">关于我们</router-link>
                </p>
                <p><a target="_blank" href="./static/download/manual_lyed.pdf">《联运E达》说明书</a></p>
                <p><a target="_blank" href="./static/download/manual_zxxq.pdf">《智享箱情》说明书</a></p>
                <!--<p><a href="#">合作方式</a></p>-->
                <!--<p><a href="#">意见反馈</a></p>-->
              </div>
              <div class="foo4">
                <p>联系我们</p>
                <p>咨询热线：18130899820</p>
                <p>技术支持：13565892756</p>
                <p>微信公众号</p>
                <img :src="footerWechatQr" alt="">
              </div>
            </div>
            <div class="mess">
              <p>Copyright&copy2017 新疆新铁运联网络科技有限公司<a href="http://www.miibeian.gov.cn" target="_blank">新ICP备17002334号</a></p>
            </div>
          </div>
        </Footer>
      </Layout>
    </div>
  </div>
</template>
<script>
  import indexMenu from './indexMenu.vue'
  import footerWechatQr from '../../../static/img/footer_wechat_qr.png'

  export default {
    name: 'index',
    data () {
      let datas = { footerWechatQr }
      return datas
    },
    methods: {},
    components: { indexMenu }
  }
</script>

<style scoped>
  .layout {
    border: 1px solid #d7dde4;
    background: #fff;
  }

  .layout-logo {
    width: 200px;
    height: 40px;
    background: url("../../../static/img/logo_bg.png") no-repeat;
    border-radius: 3px;
    float: left;
    position: relative;
    top: 12px;
    left: 0;
  }

  .layout-nav {
    width: 600px;
    margin: 0 auto;
    color: #fff !important;
  }

  .layout-assistant {
    width: 300px;
    margin: 0 auto;
    height: inherit;
  }

  .layout-breadcrumb {
    padding: 10px 15px 0;
  }

  .layout-content {
    min-height: 200px;
    margin: 15px;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
  }

  .layout-content-main {
    padding: 10px;
  }

  .layout-copy {
    text-align: center;
    padding: 10px 0 20px;
    color: #9ea7b4;
  }

  #footer {
    width: 100%;
    margin: 0 auto;
    height: 460px;
    background: #13293b;
    position: relative;
  }

  .footers {
    width: 960px;
    margin: 0 auto;
    /*height: 150px;*/

    margin-top: 120px;
    /*border: 1px solid gray;*/

    display: flex;
    justify-content: space-between;
  }

  .footers > div {
    /*float: left;*/

    font-size: 14px;
  }

  .footers > div > p {
    font-size: 18px;
    color: #fdfdfd;
    border-left: 1px solid #1b364d;
    padding-left: 15px;
  }

  .footers > .foo4 > p {
    font-size: 14px;
    color: #cacaca;
    margin-top: 3px;
  }

  .footers > .foo4 > img {
    display: inline-block;
    width: 96px;
    height: 88px;
    border-left: 1px solid #1b364d;
    padding-left: 15px;
    padding-top: 8px;
  }

  .footers > .foo4 > p:first-of-type {
    font-size: 18px;
    color: #fdfdfd;
  }

  .footers > div > p > a {
    text-decoration: none;
    font-size: 14px;
    color: #cacaca;
  }

  .footers > div > p > span {
    text-decoration: none;
    font-size: 14px;
    color: #cacaca;
  }

  .mess {
    width: 70%;
    margin: 0 auto;
    margin-top: 60px;
    text-align: center;
  }

  #mianDeng {
    width: 960px;
    height: 160px;
    position: absolute;
    left: 50%;
    top: -50px;
    margin-left: -480px;
    background: #feca2e;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 100;
    text-align: center;
  }

  #mianDeng > p:first-of-type {
    margin-top: 30px;
    font-size: 22px;
    color: #1b1e21;
  }

  #mianDeng > p:last-of-type {
    width: 120px;
    height: 40px;
    margin: 0 auto;
    margin-top: 30px;
    background-color: #1b1e21;
    line-height: 40px;
  }

  #mianDeng a {
    text-decoration: none;
    color: #feca2e;
    font-size: 16px;
  }

  .loginMenu {
    padding: 0 5px;
    display: inline-block;
    height: 60px;
    position: relative;
  }

  .loginMenu:hover {
    background-color: #0A1E2E;
    height: 60px;
  }

  .loginMenu .line {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FECA2E;
    height: 2px;
    display: none;
  }

  .loginMenu:hover .line {
    display: block;
  }

  .sendMessage {
    float: right;
    position: relative;
    height: 60px;;
    width: 30px;
  }

  .sendMessage a {
    display: block;
    position: relative;
  }

  .messsageNum {
    position: absolute;
    height: 10px;
    width: 30px;
    text-align: center;
    color: #fff;
    font-size: 9px;
    top: 11px;
    right: 2px;
  }

  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item-active, .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item:hover {
    border: none;
    color: #FED557;
  }

  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item {
    font-size: 16px;
    color: #fff;
    position: relative;
  }

  .ivu-menu-item .line {
    display: none;
    position: absolute;
    bottom: 0;
    width: 14px;
    height: 4px;
    background-color: #FED557;
    left: 50%;
    margin-left: -7px;
  }

  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item-active {
    color: #FED557;
  }

  .ivu-menu-item-selected .line {
    display: block;
  }

  .ivu-menu-horizontal.ivu-menu-light:after {
    background-color: #13293B;
  }

  .ivu-menu-light.ivu-menu-horizontal .ivu-menu-item, .ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu {
    border: none;
  }

  .ivu-layout-header {
    background-color: transparent;
  }

  .ivu-menu-light {
    background-color: transparent;
  }

  .ivu-menu-horizontal.ivu-menu-light:after {
    background-color: transparent;
  }

  .ivu-layout-header:hover {
    background-color: #13293B;
    transition: all 1s ease-in;
  }
</style>
<style>
  #indexDropDown .ivu-select-dropdown {
    margin-top: -2px;
    background-color: #0A1E2E;
  }

  #indexDropDown .ivu-dropdown-item a {
    color: #fff;
  }

  #indexDropDown .ivu-dropdown-item:hover {
    background-color: transparent;
  }

  #indexDropDown .ivu-dropdown-item:hover a {
    color: #FED557 !important;
  }

  #indexDropDown .dashboardIcon {
    display: block;
    margin-right: 3px;
    float: left;
    background: url("../../../static/img/icon_operating.png") no-repeat;
    padding: 9px;

  }

  #indexDropDown .logoutIcon {
    margin-right: 3px;
    display: block;
    float: left;
    background: url("../../../static/img/icon_exit.png") no-repeat;
    padding: 9px;
  }
</style>
